home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / iv26_w30.zip / INTERVIE / TABLE2.H < prev    next >
C/C++ Source or Header  |  1991-06-17  |  479b  |  29 lines

  1. /*
  2.  * Object association table.
  3.  */
  4.  
  5. #ifndef Table2_h
  6. #define Table2_h
  7.  
  8. #include <Interviews\defs.h>
  9.  
  10. class Table2Entry;
  11.  
  12. class Table2 {
  13. public:
  14.     Table2(int);
  15.     ~Table2();
  16.     void Insert(void*, void*, void*);
  17.     boolean Find(void*&, void*, void*);
  18.     void Remove(void*, void*);
  19. private:
  20.     int size;
  21.     Table2Entry** first;
  22.     Table2Entry** last;
  23.  
  24.     Table2Entry* Probe(void*, void*);
  25.     Table2Entry** ProbeAddr(void*, void*);
  26. };
  27.  
  28. #endif
  29.